[Ivy]
[>Created: Mon Jun 30 16:05:01 ICT 2014]
146DCC227F9FD64D 3.17 #module
>Proto >Proto Collection #zClass
Ms0 MainScreenProcess Big #zClass
Ms0 RD #cInfo
Ms0 #process
Ms0 @TextInP .ui2RdDataAction .ui2RdDataAction #zField
Ms0 @TextInP .rdData2UIAction .rdData2UIAction #zField
Ms0 @TextInP .resExport .resExport #zField
Ms0 @TextInP .type .type #zField
Ms0 @TextInP .processKind .processKind #zField
Ms0 @AnnotationInP-0n ai ai #zField
Ms0 @TextInP .xml .xml #zField
Ms0 @TextInP .responsibility .responsibility #zField
Ms0 @RichDialogInitStart f0 '' #zField
Ms0 @RichDialogProcessEnd f1 '' #zField
Ms0 @GridStep f3 '' #zField
Ms0 @PushWFArc f4 '' #zField
Ms0 @PushWFArc f2 '' #zField
Ms0 @RichDialogProcessStart f5 '' #zField
Ms0 @RichDialogProcessEnd f6 '' #zField
Ms0 @GridStep f7 '' #zField
Ms0 @PushWFArc f8 '' #zField
Ms0 @PushWFArc f9 '' #zField
>Proto Ms0 Ms0 MainScreenProcess #zField
Ms0 f0 guid 146DCC2280F703CF #txt
Ms0 f0 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f0 method start() #txt
Ms0 f0 disableUIEvents true #txt
Ms0 f0 inParameterDecl 'ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent methodEvent = event as ch.ivyteam.ivy.richdialog.exec.RdMethodCallEvent;
<> param = methodEvent.getInputArguments();
' #txt
Ms0 f0 outParameterDecl '<> result;
' #txt
Ms0 f0 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>start()</name>
    </language>
</elementInfo>
' #txt
Ms0 f0 86 54 20 20 13 0 #rect
Ms0 f0 @|RichDialogInitStartIcon #fIcon
Ms0 f1 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f1 86 318 20 20 13 0 #rect
Ms0 f1 @|RichDialogProcessEndIcon #fIcon
Ms0 f3 actionDecl 'simpleMailApplication.MainScreen.MainScreenData out;
' #txt
Ms0 f3 actionTable 'out=in;
' #txt
Ms0 f3 actionCode 'import javax.faces.context.FacesContext;

import entity.User;
import java.util.HashMap;
import java.util.ArrayList;


List<String> categories = new ArrayList<String>();
categories.add("Inbox");
categories.add("Drafts");
categories.add("Deleted Items");

in.categories = categories;

' #txt
Ms0 f3 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f3 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>init</name>
        <nameStyle>4,7
</nameStyle>
    </language>
</elementInfo>
' #txt
Ms0 f3 78 164 36 24 20 -2 #rect
Ms0 f3 @|StepIcon #fIcon
Ms0 f4 expr out #txt
Ms0 f4 96 74 96 164 #arcP
Ms0 f2 expr out #txt
Ms0 f2 96 188 96 318 #arcP
Ms0 f5 guid 146EA615B119EFA8 #txt
Ms0 f5 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f5 actionDecl 'simpleMailApplication.MainScreen.MainScreenData out;
' #txt
Ms0 f5 actionTable 'out=in;
' #txt
Ms0 f5 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>categorySelected</name>
        <nameStyle>16,5,7
</nameStyle>
    </language>
</elementInfo>
' #txt
Ms0 f5 302 70 20 20 13 0 #rect
Ms0 f5 @|RichDialogProcessStartIcon #fIcon
Ms0 f6 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f6 302 318 20 20 13 0 #rect
Ms0 f6 @|RichDialogProcessEndIcon #fIcon
Ms0 f7 actionDecl 'simpleMailApplication.MainScreen.MainScreenData out;
' #txt
Ms0 f7 actionTable 'out=in;
' #txt
Ms0 f7 actionCode 'import javax.faces.context.FacesContext;
import entity.MailData;

ivy.log.error("dsgfdfshgkdfhgkjdfhgkjdfg");


MailData sb;
FacesContext context = FacesContext.getCurrentInstance();

sb = context.getApplication().evaluateExpressionGet(context, "#{MailData}", MailData.class) as MailData;

out.selectedListMail = sb.loadMailInboxMail(in.userLoggedIn);' #txt
Ms0 f7 type simpleMailApplication.MainScreen.MainScreenData #txt
Ms0 f7 @C|.xml '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<elementInfo>
    <language>
        <name>updateMailList</name>
        <nameStyle>14,7
</nameStyle>
    </language>
</elementInfo>
' #txt
Ms0 f7 294 165 36 22 20 -2 #rect
Ms0 f7 @|StepIcon #fIcon
Ms0 f8 expr out #txt
Ms0 f8 312 90 312 165 #arcP
Ms0 f9 expr out #txt
Ms0 f9 312 187 312 318 #arcP
>Proto Ms0 .type simpleMailApplication.MainScreen.MainScreenData #txt
>Proto Ms0 .processKind HTML_DIALOG #txt
>Proto Ms0 -8 -8 16 16 16 26 #rect
>Proto Ms0 '' #fIcon
Ms0 f0 mainOut f4 tail #connect
Ms0 f4 head f3 mainIn #connect
Ms0 f3 mainOut f2 tail #connect
Ms0 f2 head f1 mainIn #connect
Ms0 f5 mainOut f8 tail #connect
Ms0 f8 head f7 mainIn #connect
Ms0 f7 mainOut f9 tail #connect
Ms0 f9 head f6 mainIn #connect
